package com.gao.builder;

import com.gao.domain.GrassHouse;
import com.gao.domain.House;

/**
 * @author GaoXi
 * @date 2021/5/19 20:11
 */
public class GrassHouseBuilder implements HouseBuilder {

    private GrassHouse grassHouse;

    @Override
    public void buildAround() {
        //收集稻草
        //用稻草围成四面墙
    }
    @Override
    public void addRoof() {
        //用稻草做个屋顶
    }
    @Override
    public void addDoor() {
        //用稻草加个门
    }
    @Override
    public void addWindows() {
        // 将稻草墙开个洞
    }
    @Override
    public House getResult() {
        return grassHouse;
    }

}
